how to evaluate the six trigonometric functions of real number